<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>测试 requireJs</title>
</head>
<body>

<div id="printFactory">
<h1>首页</h1>
    <p>测试打印</p>
</div>
<script th:src="@{/static/js/require-config.js}"></script>
<script th:src="@{/static/js/plugins/require.js}" th:data-main="@{/static/js/apps/index/index.js}"></script>
</body>
</html>